//
//  USOrderDetailModel.h
//  usale0001
//
//  Created by YU on 16/1/11.
//  Copyright © 2016年 YU. All rights reserved.
//

#import <Foundation/Foundation.h>

@class USOrderDetailParmModel;
@class USOrderDetailOrderModel;
@class USOrderProductVo;


#pragma mark -
/**
 *  USOrderDetailModel
 */
@interface USOrderDetailModel : NSObject

@property (nonatomic, copy) NSString *resultInfo;

@property (nonatomic, copy) NSString *serviceResult;

@property (nonatomic, strong) USOrderDetailParmModel *resultParm;

@property (nonatomic, copy) NSString *userToken;
@end

#pragma mark -
/**
 *  USOrderDetailParmModel
 */
@interface  USOrderDetailParmModel : NSObject
#pragma 暂时不知道有没有用
/**
 *  暂时留着
 */
@property (nonatomic, copy) NSString *accountspayable;
@property (nonatomic, copy) NSString *accountsrecevable;

@property (nonatomic, strong) USOrderDetailOrderModel *order;

@property (nonatomic, strong) NSArray *orderdetailList;

@property (nonatomic, copy) NSString *diffDay;

@property (nonatomic, copy) NSString *timeout;

@property (nonatomic, strong) USOrderProductVo *productVo;

@end

#pragma mark -
/**
 *  USOrderProductVo
 */
@interface USOrderProductVo : NSObject

@property (nonatomic, copy) NSString *stock;

@property (nonatomic, assign) BOOL isstockinvisible;

@end

#pragma mark -
/**
 *  USOrderDetailOrderModel
 */
@interface USOrderDetailOrderModel : NSObject

@property (nonatomic, copy) NSString *histroy;

@property (nonatomic, copy) NSString *address;

@property (nonatomic, copy) NSString *amount;

@property (nonatomic, copy) NSString *creatorId;

@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *customername;

@property (nonatomic, copy) NSString *customeruid;

@property (nonatomic, copy) NSString *deliverydate;

@property (nonatomic, copy) NSString *editeTime;

@property (nonatomic, copy) NSString *isDelete;

@property (nonatomic, copy) NSString *isLockUp;

@property (nonatomic, copy) NSString *iscustomervirtual;

@property (nonatomic, copy) NSString *isprovidervirtual;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *orderid;

@property (nonatomic, copy) NSString *ordernum;

//订单阶段，0-待确认，1-生产中，2-待出货，3-已完结
@property (nonatomic, assign) int orderstage;
//订单状态,0-新订单，1待买家确认取消，2待卖家确认取消，3待买家确认变更，4待买家确认预定，5生产中，6待出货，7待收货，8交易成功，9买家取消订单，10卖家取消订单
@property (nonatomic, assign) int orderstatus;
//paymentmode		支付方式，0-现结，1-赊账，2-预付
@property (nonatomic, assign) int paymentmode;

@property (nonatomic, copy) NSString *prepaidsum;

@property (nonatomic, copy) NSString *providername;

@property (nonatomic, copy) NSString *provideruid;

@property (nonatomic, copy) NSString *receivemode;

@property (nonatomic, copy) NSString *remark;

@property (nonatomic, copy) NSString *telephone;

@property (nonatomic, copy) NSString *version;

@property (nonatomic, copy) NSString *countrysmsid;

@property (nonatomic, copy) NSString *currency;

@property (nonatomic, copy) NSString *currencyid;

@property (nonatomic, copy) NSString *countrycode;

@property (nonatomic, copy) NSString *exchangerate;

@property (nonatomic, copy) NSString *ispack;

@end

#pragma mark -
/**
 *  USOrderDetailListModel
 */
@interface USOrderDetailListModel : NSObject

@property (nonatomic, copy) NSString *counselprice;

@property (nonatomic, copy) NSString *inprouductunit;

@property (nonatomic, copy) NSString *specification;

@property (nonatomic, copy) NSString *logo;

@property (nonatomic, copy) NSString *currency;

@property (nonatomic, copy) NSString *isDelete;

@property (nonatomic, copy) NSString *providernickname;

@property (nonatomic, copy) NSString *creatorId;

@property (nonatomic, copy) NSString *inproductspec;

@property (nonatomic, copy) NSString *sellingprice;

@property (nonatomic, copy) NSString *orderid;

@property (nonatomic, copy) NSString *orderdetailid;

@property (nonatomic, copy) NSString *productid;

@property (nonatomic, copy) NSString *inproductprice;

@property (nonatomic, copy) NSString *version;

@property (nonatomic, copy) NSString *unit;

@property (nonatomic, copy) NSString *pieces;

@property (nonatomic, copy) NSString *inproductlogo;

@property (nonatomic, copy) NSString *netweight;

@property (nonatomic, copy) NSString *inproductstock;

@property (nonatomic, copy) NSString *productremark;

@property (nonatomic, copy) NSString *inproductcurrencyid;

@property (nonatomic, copy) NSString *editeTime;

@property (nonatomic, copy) NSString *isLockUp;

@property (nonatomic, copy) NSString *provideruid;

@property (nonatomic, copy) NSString *editorId;

@property (nonatomic, copy) NSString *provideravatar;

@property (nonatomic, copy) NSString *currencyid;

@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *inproductid;

@property (nonatomic, copy) NSString *originalprice;

@property (nonatomic, copy) NSString *productname;

@property (nonatomic, copy) NSString *inproductname;

@property (nonatomic, copy) NSString *customeravatar;

@property (nonatomic, copy) NSString *customernickname;

@property (nonatomic, copy) NSString *inprouductcurrency;

@property (nonatomic, copy) NSString *lastprice;

@property (nonatomic, copy) NSString *inproducttype;

@property (nonatomic, copy) NSString *producttypenames;

//库存是否充足
@property (nonatomic, assign) BOOL issaleproenough;

@end
